package common;
import java.util.ArrayList;

public class SensorData {
	private ArrayList<String> tags;
	private int sensorId;
	private int wattage;
	private int time;
	private boolean isWeekday;
	private int day;
        
        public SensorData(){
            tags = new ArrayList<String>();
            sensorId = 0;
            wattage = 0;
            time = 0;
            isWeekday = true;
            day = 0;
        }
	
    public void setId(int sensorId) {
    	this.sensorId = sensorId;
    }
        
	public void addTag(String tag) {
		this.sensorId = sensorId;
		tags.add(tag);
	}
	
	public void setMetaData(int wattage, int time, boolean isWeekday, int day) {
		this.wattage = wattage;
		this.time = time;
		this.isWeekday = isWeekday;
		this.day = day;

	}
	
	public int getWattage() {
		return wattage;
	}
	
	public boolean getIsWeekDay() {
		return isWeekday;
	}
	
	public int getDay() {
		return day;
	}
	
	public int getID() {
		return sensorId;
	}
	
	public ArrayList<String> getTags() {
		return tags;
	}
}

